<template>
  <div class="app-navbar">
    <el-menu
      :router="true"
      :default-active="$route.path"
      class="el-menu-vertical-demo"
    >
      <el-menu-item index="/home">
        <i class="el-icon-user-solid"></i>
        <span slot="title">首页</span>
      </el-menu-item>
      <el-menu-item index="/teacherList/">
        <i class="el-icon-s-home"></i>
        <span slot="title">教师列表</span>
      </el-menu-item>
      <el-menu-item index="/studentList/">
        <i class="el-icon-s-home"></i>
        <span slot="title">学生列表</span>
      </el-menu-item>
      <el-menu-item index="/inputTeaAssStu/">
        <i class="el-icon-s-home"></i>
        <span slot="title">为老师添加学生</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
</style>